package com.company;
import com.company.ThreadLearn.ThreadTest;
import com.company.ThreadLearn._Thread;

import java.text.ParseException;

public class Main {
    public static void main(String[] args) throws NoSuchFieldException, IllegalAccessException, ParseException, InterruptedException {
//        PackingType py = new PackingType();
//        Enum enums = new Enum();
//        Util util = new Util();

//        反射 Reflex
//        Student stu = new Student("李大庆");
//        Class cls = stu.getClass();
//        Field dl = cls.getDeclaredField("address");
//        Field sy = cls.getDeclaredField("address2");
//        Field name = cls.getDeclaredField("name");
//        sy.setAccessible(true);
//        dl.setAccessible(true);
//        name.setAccessible(true);
//        System.out.println(sy.get(stu));
//        System.out.println(dl.get(stu));
//        System.out.println(name.get(stu));
//        System.out.println(stu.name);

//      泛型 Generic Paradigm
//        GenericParadigm gp = new GenericParadigm();

//        lists lists = new lists();

//        MapClass mc = new MapClass();
//        SetClass sc = new SetClass();
//        sc.forEach();

//        QueueClass qc = new QueueClass();

//        try {
//            IO io = new IO();
//        } catch (IOException e) {
//            e.printStackTrace();
//        }
//        DataClass dc = new DataClass();
//        regular re = new regular("1900 ");

//        encryptionSecurity en = new encryptionSecurity();

//        MD5Class md = new MD5Class();


//        多线程

//        ThreadTest tt = new ThreadTest();
//        System.out.println("Main start");
//        threadProtect tp = new threadProtect();
////        转为守护线程
//        tp.setDaemon(true);
//        tp.start();
//        Thread.sleep(5000);
//        System.out.println("Main end");
//        ThreadClass tc = new ThreadClass("ltx");

        _Thread _t = new _Thread();

    }



}